package com.glsc.ngateway.common.base.domain.mysql.opmanage.report.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "t_subhk_fund_pnlinstrlv")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
@IdClass(PnLInstrLvId.class)
public class PnLInstrLv {
    @Column(name="PF")
    @ExcelProperty("PF")
    private String pf;

    @Column(name="InstrType")
    @ExcelProperty("InstrType")
    private String instrType;

    @Column(name="InstrName")
    @ExcelProperty("InstrName")
    private String instrName;

    @Column(name="ISIN")
    @ExcelProperty("ISIN")
    private String isin;

    @Column(name="ExpiryDt")
    @ExcelProperty("ExpiryDt")
    private Date expiryDt;

    @Column(name="IsExpiry")
    @ExcelProperty("IsExpiry")
    private String isExpiry;

    @Column(name="TrdCcy")
    @ExcelProperty("TrdCcy")
    private String trdCcy;

    @Column(name="Pos")
    @ExcelProperty("Pos")
    private Double pos;

    @Column(name="OpAvgCost")
    @ExcelProperty("OpAvgCost")
    private Double opAvgCost;

    @Column(name="InvestedCost")
    @ExcelProperty("InvestedCost")
    private Double investedCost;

    @Column(name="LastYrEndedClsPx")
    @ExcelProperty("LastYrEndedClsPx")
    private Double lastYrEndedClsPx;

    @Column(name="LastMthEndedClsPx")
    @ExcelProperty("LastMthEndedClsPx")
    private Double lastMthEndedClsPx;

    @Column(name="YestClsPx")
    @ExcelProperty("YestClsPx")
    private Double yestClsPx;

    @Column(name="ClsPx")
    @ExcelProperty("ClsPx")
    private Double clsPx;

    @Column(name="`LatestClsPx%`")
    @ExcelProperty("LatestClsPx%")
    private Double latestClsPx;

    @Column(name="TPL")
    @ExcelProperty("TPL")
    private Double tpl;

    @Column(name="UPL")
    @ExcelProperty("UPL")
    private Double upl;

    @Column(name="RPL")
    @ExcelProperty("RPL")
    private Double rpl;

    @Column(name="Carry")
    @ExcelProperty("Carry")
    private Double carry;

    @Column(name="YTPL")
    @ExcelProperty("YTPL")
    private Double ytpl;

    @Column(name="YUPL")
    @ExcelProperty("YUPL")
    private Double yupl;

    @Column(name="YRPL")
    @ExcelProperty("YRPL")
    private Double yrpl;

    @Column(name="YCarry")
    @ExcelProperty("YCarry")
    private Double yCarry;

    @Column(name="MTPL")
    @ExcelProperty("MTPL")
    private Double mtpl;

    @Column(name="MUPL")
    @ExcelProperty("MUPL")
    private Double mupl;

    @Column(name="`MRPL`")
    @ExcelProperty("MRPL")
    private Double mrpl;

    @Column(name="`MCarry`")
    @ExcelProperty("MCarry")
    private Double mCarry;

    @Column(name="DTPL")
    @ExcelProperty("DTPL")
    private Double dtpl;

    @Column(name="DUPL")
    @ExcelProperty("DUPL")
    private Double dupl;

    @Column(name="DRPL")
    @ExcelProperty("DRPL")
    private Double drpl;

    @Column(name="DCarry")
    @ExcelProperty("DCarry")
    private Double dCarry;

    @Column(name="MarketValue")
    @ExcelProperty("MarketValue")
    private Double marketValue;

    @Column(name="RptDt")
    @ExcelProperty("RptDt")
    private Date rptDt;

    @Id
    @Column(name="fd_date")
    private Date date;

    @Id
    @Column(name="fc_fundname")
    private String fundname;

    public String getPf() {
        return pf;
    }

    public void setPf(String pf) {
        this.pf = pf;
    }

    public void setInstrType(String instrType) {
        this.instrType = instrType;
    }

    public String getInstrType() {
        return instrType;
    }

    public void setInstrName(String instrName) {
        this.instrName = instrName;
    }

    public String getInstrName() {
        return instrName;
    }

    public void setIsin(String isin) {
        this.isin = isin;
    }

    public String getIsin() {
        return isin;
    }

    public void setExpiryDt(Date expiryDt) {
        this.expiryDt = expiryDt;
    }

    public Date getExpiryDt() {
        return expiryDt;
    }

    public void setIsExpiry(String isExpiry) {
        this.isExpiry = isExpiry;
    }

    public String getIsExpiry() {
        return isExpiry;
    }

    public void setTrdCcy(String trdCcy) {
        this.trdCcy = trdCcy;
    }

    public String getTrdCcy() {
        return trdCcy;
    }

    public void setPos(Double pos) {
        this.pos = pos;
    }

    public Double getPos() {
        return pos;
    }

    public Double getOpAvgCost() {
        return opAvgCost;
    }

    public void setOpAvgCost(Double opAvgCost) {
        this.opAvgCost = opAvgCost;
    }

    public void setInvestedCost(Double investedCost) {
        this.investedCost = investedCost;
    }

    public Double getInvestedCost() {
        return investedCost;
    }

    public void setLastMthEndedClsPx(Double lastMthEndedClsPx) {
        this.lastMthEndedClsPx = lastMthEndedClsPx;
    }

    public Double getLastMthEndedClsPx() {
        return lastMthEndedClsPx;
    }

    public void setLastYrEndedClsPx(Double lastYrEndedClsPx) {
        this.lastYrEndedClsPx = lastYrEndedClsPx;
    }

    public Double getLastYrEndedClsPx() {
        return lastYrEndedClsPx;
    }

    public void setYestClsPx(Double yestClsPx) {
        this.yestClsPx = yestClsPx;
    }

    public Double getYestClsPx() {
        return yestClsPx;
    }

    public void setLatestClsPx(Double latestClsPx) {
        this.latestClsPx = latestClsPx;
    }

    public Double getLatestClsPx() {
        return latestClsPx;
    }

    public void setClsPx(Double clsPx) {
        this.clsPx = clsPx;
    }

    public Double getClsPx() {
        return clsPx;
    }

    public Double getTpl() {
        return tpl;
    }

    public void setTpl(Double tpl) {
        this.tpl = tpl;
    }

    public void setUpl(Double upl) {
        this.upl = upl;
    }

    public Double getUpl() {
        return upl;
    }

    public void setRpl(Double rpl) {
        this.rpl = rpl;
    }

    public Double getRpl() {
        return rpl;
    }

    public void setdCarry(Double dCarry) {
        this.dCarry = dCarry;
    }

    public Double getdCarry() {
        return dCarry;
    }

    public Double getYtpl() {
        return ytpl;
    }

    public void setYtpl(Double ytpl) {
        this.ytpl = ytpl;
    }

    public void setYupl(Double yupl) {
        this.yupl = yupl;
    }

    public Double getYupl() {
        return yupl;
    }

    public void setYrpl(Double yrpl) {
        this.yrpl = yrpl;
    }

    public Double getYrpl() {
        return yrpl;
    }

    public void setyCarry(Double yCarry) {
        this.yCarry = yCarry;
    }

    public Double getyCarry() {
        return yCarry;
    }

    public Double getMtpl() {
        return mtpl;
    }

    public void setMtpl(Double mtpl) {
        this.mtpl = mtpl;
    }

    public void setMupl(Double mupl) {
        this.mupl = mupl;
    }

    public Double getMupl() {
        return mupl;
    }

    public void setMrpl(Double mrpl) {
        this.mrpl = mrpl;
    }

    public Double getMrpl() {
        return mrpl;
    }

    public void setmCarry(Double mCarry) {
        this.mCarry = mCarry;
    }

    public Double getmCarry() {
        return mCarry;
    }

    public Double getDtpl() {
        return dtpl;
    }

    public void setDtpl(Double dtpl) {
        this.dtpl = dtpl;
    }

    public void setDupl(Double dupl) {
        this.dupl = dupl;
    }

    public Double getDupl() {
        return dupl;
    }

    public void setDrpl(Double drpl) {
        this.drpl = drpl;
    }

    public Double getDrpl() {
        return drpl;
    }

    public void setCarry(Double carry) {
        this.carry = carry;
    }

    public Double getCarry() {
        return carry;
    }

    public void setMarketValue(Double marketValue) {
        this.marketValue = marketValue;
    }

    public Double getMarketValue() {
        return marketValue;
    }

    public void setRptDt(Date rptDt) {
        this.rptDt = rptDt;
    }

    public Date getRptDt() {
        return rptDt;
    }

    public void setFundName(String fundname) {
        this.fundname = fundname;
    }

    public String getFundName() {
        return fundname;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getDate() {
        return date;
    }
}
